package com.Maykk.Demo03;

import com.Maykk.Demo02.KeyBoard;
import com.Maykk.Demo02.Mouse;

public class Running {
	public static void main(String[] args) {
		Computer computer = new Computer();
		computer.on();
		computer.useDevice(new Mouse());
		computer.useDevice(new KeyBoard());
		computer.off();
	}
}